/*
********************************************************************************
* Copyright (C) 2021, xiang.D <dx_65535@163.com>.
* All right reserved.
*
* File Name   : led_manager.h
* Author      :
* Version     : V1.0
* Description :
* Journal     : 2022-02-13 init v1.0
* Brief       : Blog: https://blog.csdn.net/qq_38750572?spm=1001.2014.3001.5343
* Others      :
********************************************************************************
*/
#ifndef __LED_MANAGER_H__
#define __LED_MANAGER_H__

#include "common_type.h"

class CLedManager
{
public:
    CLedManager();

    ~CLedManager();

    static CLedManager* GetInstance();

    void Init();

    static void SendMsg(int type, void* msg);

    void ProcessMsg(ELedMsgType type, void* msg);

    void ShowHorseLight(int index);

    void ShowBreathLight(int index);

    void OpenLight(int index);

    void Stop(int index);
};

#endif
